package com.diandian.backend.entrance.client;

import com.diandian.backend.entrance.dto.*;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient("ruoyi-core")
//@FeignClient(value = "business-ruoyi-core", url = "http://localhost:9204", path = "")
public interface HhrErpCoreClient {

    @PostMapping("/storeDeliveryOrder/store-delivery-order/page/open")
    HhrErpCommonResult<HhrErpPageResultDTO<HhrErpStoreDeliveryOrderRespDTO>> getStoreDeliveryOrderPage(HhrErpStoreDeliveryOrderPageReqDTO pageReqVO);

    @PostMapping("/storeReturnOrder/store-return-order/page/open")
    HhrErpCommonResult<HhrErpPageResultDTO<HHrErpStoreReturnOrderRespDTO>> getStoreReturnOrderPageOpen(@RequestBody HHrErpStoreReturnOrderPageReqDTO pageReqVO);

}
